import Vue from 'vue';
import App from './App.vue';

Vue.config.productionTip = false;

import jsBridge from './jsBridge';
import jsBridgeRegisterHandle from './jsBridgeRegisterHandle';

// 优先建立桥
Vue.use(jsBridge, {
  ready() {
    Vue.use(jsBridgeRegisterHandle);
    let instance = new Vue();
    instance.$myPlugs.getAppInfo(() => {});
  }
});
new Vue({
  render: h => h(App)
}).$mount('#app');
